package org.jdemo.feature.oom;

/**
 * OOMPermTest
 *
 * @author longlin(longlin@cyou-inc.com)
 * @date 202014/4/28
 * @since V1.0
 */
public class OOMPermTest {
    public static void main(String[] args){
        oom();
    }

    private static void oom(){
        Object[] array = new Object[100000000];
        for(int i=0; i<100000000; i++){
            String d = String.valueOf(i).intern();
            array[i]=d;
        }
    }
}
